<% layout('/layouts/default.html', {title: '省办反馈办理', libs: ['validate','fileupload','dataGrid']}){ %>
<div class="main-content">
	<div class="box box-main">

		<#form:form id="inputForm" model="${dcSupTaskFeedbackReject!}" action="${ctx}/audit/taskReceive/feedbackReject" method="post" class="form-horizontal">
			<div class="box-body">
				<div class="form-unit">${text('申请退回')}</div>
				<div class="row">
					<div class="col-xs-6">
						<div class="form-group">
							<label class="control-label col-sm-4" title="">
								</label>
							<div class="col-sm-8">
                                <#form:hidden path="bizId" />
                                <#form:hidden path="actionId" />
                                <#form:hidden path="taskId" />
                                <#form:hidden path="id" />
<!--                                <#form:hidden path="reportEndDate"  />-->
							</div>
						</div>
					</div>
				</div>
				<div class="row">

                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('办理单位')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" style="padding-right: 50px;position: relative">
                                <#form:input path="handleDeptName" maxlength="64"  class="form-control required" />
                            </div>

                        </div>
                    </div>
                    <div class="col-xs-6">

                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('办理时间')}：<i
                                    class="fa icon-question hide"></i></label>
                            <div class="col-sm-8">
                                <div class="form-inline" style="padding-left: 0px !important;margin: 0px !important;">
                                    <#form:input path="opTime" readonly="true" maxlength="20" class="form-control  required"
                                    dataFormat="text"  style="width:245px" placeholder="办理时间"/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('办理人')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" style="padding-right: 50px;position: relative">
                                <#form:input path="operName" maxlength="64"  class="form-control required" />
                            </div>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <div class="form-group">
                            <label class="control-label col-sm-4" title="">
                                <span class="required ">*</span> ${text('联系电话')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-8" style="padding-right: 50px;position: relative">
                                <#form:input path="operTel" maxlength="64"  class="form-control required" />
                            </div>
                        </div>
                    </div>

                    <div class="col-xs-12"  >
                        <div class="form-group">
                            <label class="control-label col-sm-2" title="">
                                <span class="required ">*</span> ${text('退回原因')}：<i class="fa icon-question hide"></i></label>
                            <div class="col-sm-10">
                                <#form:textarea path="returnReason" rows="3" class="form-control required" autocomplete="off" maxlength="1000" placeholder="限制1000字以内" />
                            </div>
                        </div>
                    </div>

                </div>
				<div class="row">

                    <div class="box-footer">
                        <div class="row">
                            <div class="col-sm-offset-2 col-sm-10">

                                    <button type="submit" class="btn btn-sm btn-primary" id="btnSubmit" ><i class="fa fa-check"></i> ${text('提交')}</button>&nbsp;


                                <button type="button" class="btn btn-sm btn-default btnList" id="btnCancel" onclick="js.closeCurrentTabPage()"><i class="fa fa-reply-all"></i> ${text('关 闭')}</button>
                            </div>
                        </div>
                    </div>
                </#form:form>
            </div>
        </div>
        <% } %>
        <script>


            $("#inputForm").validate({
                submitHandler: function(form) {
                    js.ajaxSubmitForm($(form), function(data) {
                        js.showMessage(data.message);
                        if (data.result == Global.TRUE) {
                            js.closeCurrentTabPage(function(contentWindow) {
                                 contentWindow.page();
                            });
                        }
                    }, "json");
                }
            });


        </script>
